'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async index() {
    this.ctx.body = 'hi, egg';
  }
  async me() {
    this.ctx.body = 'hi, this is yang';
  }

  async gen_font() {
    //gen font by font-spider
    var fontSpider = require('font-spider');
    this.ctx.body = 'hi, this is yang';
  }

}

module.exports = HomeController;
